package com.qf.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.core.annotation.Order;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 
 * 
 * @author Java2102
 * @email Java2102@qf.com
 * @date 2021-07-20 10:35:04
 */
@Data
@TableName("t_order")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private String oid;
	/**
	 *
	 */
	private Integer uid;
	/**
	 *
	 */
	private BigDecimal totalPrice;
	/**
	 *
	 */
	private String name;
	/**
	 *
	 */
	private String phone;
	/**
	 *
	 */
	private String address;
	/**
	 * 1:微信
	 * 2：支付宝
	 */
	private Integer payType;
	/**
	 *  1:未支付
	 *  2：已支付
	 *  3:已取消
	 *  4:已超时
	 *  5:发货
	 *  6:完成
	 *  7：退货
	 */
	private Integer status;
	/**
	 *
	 */
	private Date createTime;

	private String subject;

	private String body;

	@TableField(exist = false)
	private List<OrderDetailEntity> orderDetailEntityList;
}
